<template>
  <div>
    <h3>Item组件</h3>
    <p v-if="id === '001'">CS简介</p>
    <p v-if="id === '002'">DNF简介</p>
    <p v-if="id === '003'">LOL简介</p>
    <div>id:{{id}}--title:{{title}}--age:{{age}}--a:{{a}}</div>

  </div>
</template>

<script>
export default {
  name: "Item",
  data() {
    return {
      paramsId:""
    }
  },
  props:["id","title","age","a"],
  mounted() {
    console.log(this);
  },
};
</script>

<style></style>
